package com.ruibang.glass.equipment.entity.device;

import com.baomidou.mybatisplus.annotation.*;
import com.teaming.cloud.framework2.common.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@ApiModel
@TableName(value = "g_equipment_point_check_plan")
public class PointCheckPlan implements Serializable {
    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    @ApiModelProperty(value = "设备名称")
    private String deviceId;
    @ApiModelProperty(value = "点检部位")
    private String pointPart;
    @ApiModelProperty(value = "点检专业")
    private String pointSpeciality;
    @ApiModelProperty(value = "点检员")
    private String pointPerson;
    @ApiModelProperty(value = "点检员")
    private String pointPersonId;
    @ApiModelProperty(value = "点检内容")
    private String pointContent;
    @ApiModelProperty(value = "周期")
    private String cycle;

    @ApiModelProperty(value = "周期单位")
    private String cycleDw;

    @ApiModelProperty(value = "任务开始时间")
    private Date startTime;

    @ApiModelProperty(value = "点检部位")
    private String pointPartId;

    @ApiModelProperty(value = "点检部位")
    private Date createTime;

    @ApiModelProperty(value = "点检部位")
    private Date updateTime;

    @ApiModelProperty(value = "状态 0:运行，1:停机，字典类型：equipment_status")
    private String status;

    @TableField(exist = false)
    private List<String> ids;
    @ApiModelProperty(value = "是否删除(1：是 0：否)")
    @TableLogic
    private String isDelete;

}
